package com.company.service.impl;

import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.JavaDelegate;

/**
 * Description: ActivitiTest
 * Created by hua on 2021/1/8 9:29
 *
 * @author: wwh
 */
public class SupervisorAutoApproval implements JavaDelegate {

    @Override
    public void execute(DelegateExecution execution) {
        System.out.println("==================进入自动执行方法===================");
        execution.setVariable("assignee","lisi");
    }
}
